import request from '~/utils/request'

const API_NAME = '/web/user/members'

export default {
  // 会员登录
  login(member) {
    return request({
      url: `${API_NAME}/`,
      method: 'get',
      params: member
    })
  },
  // 获取会员信息
  getInfo() {
    return request({
      url: `${API_NAME}/auth/info`,
      method: 'get',
    })
  }
}
